<template>
	<view class="swip">
		<swiper class="swiper-img"   :autoplay="true"  :duration="3000" circular>
			<swiper-item v-for="(item,index) in indexswiper" :key="item.id">
				<view >
					<image class="swiper-item" :src="item.img" mode="widthFix"></image>
				</view>
			</swiper-item>
			
		</swiper>
	</view>
</template>

<script>
	export default {
		props:{
			indexswiper:{
				type:Array,
				undefined:{}
			}
		},
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss">
swiper{
}
.swip{
	background-color: #c82519;
	position: relative;
	border: 1rpx solid #c82519;
	border-bottom-left-radius: 300rpx;
	border-top-right-radius: 120rpx;
	height: 400rpx;
}
.swiper-img{
	position: absolute;
	left: 120rpx;
	top: 45rpx;
	width: 80%;
	display: flex;
	justify-content: space-around;
	align-items: center;
	border: 1rpx solid #282c35;
	overflow: hidden;
	border-radius: 30rpx;
	.swiper-item{
		width: 100%;
		
	}
}

</style>
